package com.atguigu.guli.service.vod.service;

import com.aliyuncs.exceptions.ClientException;

import java.io.InputStream;
import java.util.List;

/**
 * @author zz
 * @since 2021/12/4
 */

public interface VideoService {

    String uploadVideo(InputStream inputStream, String originalFilename);

    void removeVideo(String videoId) throws ClientException;

    void removeVideoByIdList(List<String> videoIdList) throws ClientException;

    /**
     * 获取播放凭证
     * @param videoSourceId
     * @return
     * @throws ClientException
     */
    String getPlayAuth(String videoSourceId) throws ClientException;
}
